<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libtg_owt</Name>
        <Homepage>https://github.com/desktop-app/tg_owt</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>WebRTC library - static linked</Summary>
        <Description>WebRTC library - static linked</Description>
        <Archive sha1sum="c40b383047ab65ce62797835618fce454803f857" type="targz">https://github.com/desktop-app/tg_owt/archive/9b70d7679e86e6c216127d5a6a06ef5aa4f54793.tar.gz</Archive>
<!--         <Archive sha1sum="6ecf6452664b7705e88f01f204c3c2ed37171ebb" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libvpx-20210924.tar.xz</Archive> -->
<!--         <Archive sha1sum="543167fe5316ed941ec8da652956988a1d513a13" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/libyuv-20210924.tar.xz</Archive> -->
        <Archive sha1sum="8e8d92c57b9ca9c4a36cfa0e7afbbe7e4e8fd3fa" type="targz" target="tg_owt-9b70d7679e86e6c216127d5a6a06ef5aa4f54793">https://github.com/google/crc32c/archive/refs/tags/1.1.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>git</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>pulseaudio</Dependency>
            <Dependency>yasm-devel</Dependency>
            <Dependency>unzip</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libepoxy-devel</Dependency>
            <Dependency>pipewire-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>protobuf-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>libXdamage-devel</Dependency>
<!--             <Dependency>abseil-cpp-devel</Dependency> -->
            <Dependency>egl-wayland-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">crc32c.patch</Patch> -->
            <Patch level="1">101.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libtg_owt</Name>
        <RuntimeDependencies>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>protobuf</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
<!--             <Dependency>abseil-cpp</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libtg_owt-devel</Name>
        <Summary>Development files for libtg_owt</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libtg_owt</Dependency>
	    <Dependency>yasm-devel</Dependency>
	    <Dependency>unzip</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>protobuf-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
        </Files>
    </Package>

    <History>
        <Update release="13">
            <Date>2023-03-26</Date>
            <Version>20221110</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-03-25</Date>
            <Version>20230314</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2023-01-01</Date>
            <Version>20221110</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-11-25</Date>
            <Version>20221110</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-08-05</Date>
            <Version>20220508</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2022-06-23</Date>
            <Version>20220508</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2022-04-17</Date>
            <Version>20220414</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2022-02-24</Date>
            <Version>20220314</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2022-01-09</Date>
            <Version>20211222</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2021-12-14</Date>
            <Version>20211212</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2021-12-05</Date>
            <Version>20211112</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2021-10-20</Date>
            <Version>20210915</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2021-01-26</Date>
            <Version>20210915</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2021-01-26</Date>
            <Version>20210124</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
